package com.jili.singleton;

/**
 * ClassName: SingletonDemo
 * Package com.jili.singleton
 * Description:
 *
 * @Author: 廖继礼
 * @Create: 2024/7/28
 * @Version: v1.0
 */
public class SingletonDemo {
    public static void main(String[] args) {
        SingletonEnum instance1 = SingletonEnum.INSTANCE;
        SingletonEnum instance2 = SingletonEnum.INSTANCE;
        System.out.println(instance1 == instance2);
    }
}
